The bug found in the presentation that we forgot to review has been fixed
[RRRRHHHH_Code] / ruralHouses client / src / gui / ModifyHouseGUI.java
index d5db84c..1e6b2ce 100644 (file)
@@ -148,13 +148,10 @@ public class ModifyHouseGUI extends JFrame {
                
                                try {
                                        if (hm.registerNewHouse(newRh)) {
-                                               owner.getRuralHouses().add(newRh);
-                                               houseBox.removeItem(rh);
                                                feedback.setText("House properly modified");
                                        } else
                                                feedback.setText("Imposible to modify the house");
                                } catch (RemoteException e) {
-                                       // TODO Auto-generated catch block
                                        e.printStackTrace();
                                }